.class public Lrexsee/core/menu/PopMenuItem;
.super Ljava/lang/Object;
.source "PopMenuItem.java"


# instance fields
.field public downRunnable:Ljava/lang/Runnable;

.field public final id:Ljava/lang/String;

.field public final styleNormal:Lrexsee/core/style/StyleSheet;

.field public final stylePressed:Lrexsee/core/style/StyleSheet;

.field public final styleSelected:Lrexsee/core/style/StyleSheet;

.field public upRunnable:Ljava/lang/Runnable;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Runnable;Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 1
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "itemId"    # Ljava/lang/String;
    .param p3, "itemDownRunnable"    # Ljava/lang/Runnable;
    .param p4, "itemUpRunnable"    # Ljava/lang/Runnable;
    .param p5, "normalStyle"    # Ljava/lang/String;
    .param p6, "pressedStyle"    # Ljava/lang/String;
    .param p7, "selectedStyle"    # Ljava/lang/String;

    .prologue
    const/4 v0, 0x0

    .line 22
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 9
    iput-object v0, p0, Lrexsee/core/menu/PopMenuItem;->downRunnable:Ljava/lang/Runnable;

    .line 10
    iput-object v0, p0, Lrexsee/core/menu/PopMenuItem;->upRunnable:Ljava/lang/Runnable;

    .line 23
    iput-object p2, p0, Lrexsee/core/menu/PopMenuItem;->id:Ljava/lang/String;

    .line 24
    new-instance v0, Lrexsee/core/style/StyleSheet;

    invoke-direct {v0, p1}, Lrexsee/core/style/StyleSheet;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, p5}, Lrexsee/core/style/StyleSheet;->parseStyle(Ljava/lang/String;)Lrexsee/core/style/StyleSheet;

    move-result-object v0

    iput-object v0, p0, Lrexsee/core/menu/PopMenuItem;->styleNormal:Lrexsee/core/style/StyleSheet;

    .line 25
    iget-object v0, p0, Lrexsee/core/menu/PopMenuItem;->styleNormal:Lrexsee/core/style/StyleSheet;

    invoke-virtual {v0}, Lrexsee/core/style/StyleSheet;->clone()Lrexsee/core/style/StyleSheet;

    move-result-object v0

    invoke-virtual {v0, p6}, Lrexsee/core/style/StyleSheet;->parseStyle(Ljava/lang/String;)Lrexsee/core/style/StyleSheet;

    move-result-object v0

    iput-object v0, p0, Lrexsee/core/menu/PopMenuItem;->stylePressed:Lrexsee/core/style/StyleSheet;

    .line 26
    iget-object v0, p0, Lrexsee/core/menu/PopMenuItem;->styleNormal:Lrexsee/core/style/StyleSheet;

    invoke-virtual {v0}, Lrexsee/core/style/StyleSheet;->clone()Lrexsee/core/style/StyleSheet;

    move-result-object v0

    invoke-virtual {v0, p7}, Lrexsee/core/style/StyleSheet;->parseStyle(Ljava/lang/String;)Lrexsee/core/style/StyleSheet;

    move-result-object v0

    iput-object v0, p0, Lrexsee/core/menu/PopMenuItem;->styleSelected:Lrexsee/core/style/StyleSheet;

    .line 27
    iput-object p3, p0, Lrexsee/core/menu/PopMenuItem;->downRunnable:Ljava/lang/Runnable;

    .line 28
    iput-object p4, p0, Lrexsee/core/menu/PopMenuItem;->upRunnable:Ljava/lang/Runnable;

    .line 29
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Runnable;Ljava/lang/String;)V
    .locals 8
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "itemId"    # Ljava/lang/String;
    .param p3, "itemUpRunnable"    # Ljava/lang/Runnable;
    .param p4, "style"    # Ljava/lang/String;

    .prologue
    .line 17
    const/4 v3, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v4, p3

    move-object v5, p4

    move-object v6, p4

    move-object v7, p4

    invoke-direct/range {v0 .. v7}, Lrexsee/core/menu/PopMenuItem;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Runnable;Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 18
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 8
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "itemId"    # Ljava/lang/String;
    .param p3, "itemUpRunnable"    # Ljava/lang/Runnable;
    .param p4, "normalStyle"    # Ljava/lang/String;
    .param p5, "pressedStyle"    # Ljava/lang/String;
    .param p6, "selectedStyle"    # Ljava/lang/String;

    .prologue
    .line 20
    const/4 v3, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v4, p3

    move-object v5, p4

    move-object v6, p5

    move-object v7, p6

    invoke-direct/range {v0 .. v7}, Lrexsee/core/menu/PopMenuItem;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Runnable;Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 21
    return-void
.end method
